<?php
class Cms_Read_Mysql extends Cms_Adapter_Mysql_Abstract
	implements Cms_Read_Interface
{
	public function getTablesList()
	{
		$sql = $this->_db->query('SHOW TABLES');
		
		$tables = array();
		foreach($sql->fetchAll() as $table) {
			$tables[] = current($table);
		}
		
		return $tables;
	}
}